package com.liuheng.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liuheng.spzx.model.dto.product.ProductDto;
import com.liuheng.spzx.model.entity.product.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public  interface ProductMapper extends BaseMapper<Product> {
    List<Product> findPage(Page<Product> productPage,@Param("params") ProductDto productDto);
    Product selectByIdProduct(Long id);
}
